package com.snail.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.snail.model.pojo.user.SysUser;
import com.snail.model.vo.user.ThirdPartyUserInfoVO;

/**

 * @Date 2025/8/18 19:55
 * @Author yangming
 * @Description 更具用户的查询用户
 **/
public interface SysUserService extends IService<SysUser> {
    /**
     * 根据用户ID查询用户名
     * @param userId 用户ID
     * @return 用户名（不存在返回null）
     */
    ThirdPartyUserInfoVO getUsernameById(Long userId);
}
